<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // 查找某个对象属性，用hasOwnProperty
        
        const obj=[
            {
                token_1:'',
                token_2:''
            },
            {
                token_3:'',
                token_4:''
            }
        ]
        const find=obj.find(obj=>obj.hasOwnProperty('token_4'))
      
        delete find['token_4']
        console.log(obj)
    </script>
</body>
</html>